package littlewhisker.utils {
	import flash.display.BitmapData;
	import flash.display.Sprite;

	/**
	 * @author Philip
	 */
	public class SnapShot {
		
		public static function captureBitmapData(source : Sprite):BitmapData{
			var bitmapData:BitmapData = new BitmapData(source.width, source.height,true,0x00000000);
			bitmapData.draw(source);
			return bitmapData;
		}
		
	}
}
